- /* scfplrbs.cpp by K.Tsuru */
- // function ID = 9120
- /***************************************
- SComplex class
- It returns r*{cos(x)+i*sin(x)}
- using binary splitting.
- *****************************************/
- #ifndef SN_H
- #include "sn.h"
- #endif
- SComplex CpolarBS(const SDouble& r, const SDouble& x){
- SDouble c, s;
- CosSinBS(x, c, s);
- return SComplex(r * c, r * s);
- }
scfplrbs.cpp : last modifiled at 2015/07/26 15:34:42(384 bytes)
created at 2017/10/06 15:21:28
The creation time of this html file is 2017/10/06 15:27:09 (Fri Oct 06 15:27:09 2017).